package com.xishu.entity.plat;


import com.xishu.annotation.dao.DefaultValue;
import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 全局配置
 */
@Entity(name = "global_setting")
public class GlobalSetting extends AbstractEntity {
    @ApiModelProperty(value = "桌面二维码失效时间,先付款场景")
    private Integer qrCodeOnDeskDisablePayFirst;

    @ApiModelProperty(value = "桌面二维码失效时间,后付款场景")
    private Integer qrCodeOnDeskDisablePayAfter;

    @ApiModelProperty(value = "服务员出单二维码失效时间，先付款情况")
    private Integer qrCodeDisableAddNewOrderPayFirst;

    @ApiModelProperty(value = "服务员出单二维码失效时间，后付款情况")
    private Integer qrCodeDisableAddNewOrderPayAfter;

    @ApiModelProperty(value = "发送电邮所在城市")
    @DefaultValue(defaultValue = "Hong Kong")
    private String city;

    @ApiModelProperty(value = "发送电邮所在具体地址")
    @DefaultValue(defaultValue = "Unit 505, 5/F, Building 19W, Hong Kong Science Park, N.T.,")
    private String address;

    @ApiModelProperty(value = "公司邮箱地址")
    @DefaultValue(defaultValue = "support@dolatechnology.com")
    private String emailAddress;

    @ApiModelProperty(value = "公司网址")
    @DefaultValue(defaultValue = "dolatechnology.com")
    private String companyWebsite;

    public GlobalSetting() {
    }





    public Integer getQrCodeOnDeskDisablePayFirst() {
        return qrCodeOnDeskDisablePayFirst;
    }

    public void setQrCodeOnDeskDisablePayFirst(Integer qrCodeOnDeskDisablePayFirst) {
        this.qrCodeOnDeskDisablePayFirst = qrCodeOnDeskDisablePayFirst;
    }

    public Integer getQrCodeOnDeskDisablePayAfter() {
        return qrCodeOnDeskDisablePayAfter;
    }

    public void setQrCodeOnDeskDisablePayAfter(Integer qrCodeOnDeskDisablePayAfter) {
        this.qrCodeOnDeskDisablePayAfter = qrCodeOnDeskDisablePayAfter;
    }

    public Integer getQrCodeDisableAddNewOrderPayFirst() {
        return qrCodeDisableAddNewOrderPayFirst;
    }

    public void setQrCodeDisableAddNewOrderPayFirst(Integer qrCodeDisableAddNewOrderPayFirst) {
        this.qrCodeDisableAddNewOrderPayFirst = qrCodeDisableAddNewOrderPayFirst;
    }

    public Integer getQrCodeDisableAddNewOrderPayAfter() {
        return qrCodeDisableAddNewOrderPayAfter;
    }

    public void setQrCodeDisableAddNewOrderPayAfter(Integer qrCodeDisableAddNewOrderPayAfter) {
        this.qrCodeDisableAddNewOrderPayAfter = qrCodeDisableAddNewOrderPayAfter;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getCompanyWebsite() {
        return companyWebsite;
    }

    public void setCompanyWebsite(String companyWebsite) {
        this.companyWebsite = companyWebsite;
    }
}
